package lab02.test15;

/**
 * Created by Administrator on 2017/10/24.
 */
public class Test {
    public static void main(String[] args) {
        Graduate zhangsan=new Graduate();
        zhangsan.fee=40355700;
        zhangsan.pay=12037356;
        zhangsan.getFee();
        zhangsan.getPay();
        if ( zhangsan.getPay()-zhangsan.getFee()<2000){
            System.out.println("You need a loan!");
        }else{
            System.out.println("You income is enough!");
        }
    }
}
